clc;
%clear all clears all the breakpoints too! :/
%clear all;

N = 100;
height = 100; % Y value
width = 100;  % X value

max_distance = 20; % above this distance nodes cannot communicate\

bad_ratio = 0.2;

seed = 500; %random seed for simulations
step = 10;

[N, locations, adjacency_matrix, badNodes, goodNodes, seed, step] = initialize_network(N,height,width,max_distance,seed, step, bad_ratio);
[packet_delivery_ratios1, routes_not_found1] = main(N, locations, adjacency_matrix, badNodes, goodNodes, seed, step, 0);
[packet_delivery_ratios2, routes_not_found2] = main(N, locations, adjacency_matrix, badNodes, goodNodes, seed, step, 1);